<%-- 
    Document   : ImportarDoc
    Created on : 24/10/2012, 09:30:26 AM
    Author     : 
--%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link type="text/css" href="../css/formulario.css" rel="stylesheet" media="screen"/>
        <title>Importar Documento</title>
        <script type="text/javascript">
            
        </script>
    </head>
    <body>
        <f:view>
            <jsp:include page="../TablaSistema/Menu.jsp"/>

            <rich:panel>
                <h:form id="form1">
                    <h:outputText value="IMPORTAR ISO" style="font-weight: bold;"/>  
                    <rich:spacer width="8px"/>
                    <h:selectOneMenu id="cboLecTip" value="#{mbImportarDoc.sCatCol}" >
                        <f:selectItems value="#{mbImportarDoc.cboCatCol}" />
                    </h:selectOneMenu>
                    <rich:spacer width="8px"/>

                    <h:panelGrid columns="2" columnClasses="top,top">
                        <rich:fileUpload fileUploadListener="#{mbImportarDoc.listener}"
                                         maxFilesQuantity="#{mbImportarDoc.uploadsAvailable}"
                                         id="upload"
                                         immediateUpload="#{mbImportarDoc.autoUpload}"
                                         acceptedTypes="iso" >
                            <a4j:support event="onuploadcomplete" reRender="info" />
                            <a4j:actionparam id="parametro" name="a" value="1" />
                        </rich:fileUpload> 
                    </h:panelGrid>
                </h:form>
            </rich:panel>
        </f:view>
    </body>
</html>
